package com.sikaryofficial.system.api.model.qrcode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 品牌口味扫描对象请求入参
 *
 * @author qinjinyuan
 * @date 2023-10-30
 */
@Getter
@Setter
@ToString
@ApiModel(value = "品牌口味扫描对象请求入参", description = "品牌口味扫描对象请求入参")
public class BrandTasteScanReq {
    private static final long serialVersionUID = 1L;
    /**
     * 品牌编码
     */
    @ApiModelProperty(value = "请求入参", example = "38_d2348_z779")
    @NotBlank(message = "param is blank")
    private String p;

    /**
     * 评价方式
     */
    @ApiModelProperty(value = "评价方式", example = "1")
    @NotBlank(message = "e is blank")
    @Length(max = 1, message = "e can not exceed 1 character")
    private String e;
}
